#
# Be sure to run `pod lib lint MPTUILibrary.podspec' to ensure this is a
# valid spec before submitting.
#
# Any lines starting with a # are optional, but their use is encouraged
# To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html
#

Pod::Spec.new do |s|
  s.name             = 'MPTUILibrary'
  s.version          = '0.4.1'
  s.summary          = 'A short description of MPTUILibrary.'

# This description is used to generate tags and improve search results.
#   * Think: What does it do? Why did you write it? What is the focus?
#   * Try to keep it short, snappy and to the point.
#   * Write the description between the DESC delimiters below.
#   * Finally, don't worry about the indent, CocoaPods strips it!

  s.description      = <<-DESC
TODO: Add long description of the pod here.
                       DESC

  s.homepage         = 'https://github.com/蔡勋/MPTUILibrary'
  # s.screenshots     = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
  s.license          = { :type => 'MIT', :file => 'LICENSE' }
  s.author           = { '蔡勋' => 'caixun@yixia.com' }
  s.source           = { :git => 'https://gitee.com/hao-yun/MPTUILibrary.git', :tag => s.version.to_s }
  # s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>'

  s.ios.deployment_target = '8.0'

  s.source_files = 'MPTUILibrary/Classes'

  s.subspec 'MPCLabel' do |ss|
  ss.source_files = 'MPTUILibrary/Classes/MPCLabel/*.{h,m}'
  end

  s.subspec 'MPCButton' do |ss|
    ss.source_files = 'MPTUILibrary/Classes/MPCButton/*.{h,m}'
  end

  s.subspec 'MPCImageView' do |ss|
    ss.source_files = 'MPTUILibrary/Classes/MPCImageView/*.{h,m}'
  end

  s.subspec 'MPCTableView' do |ss|
  ss.source_files = 'MPTUILibrary/Classes/MPCTableView/*.{h,m}'
  end

  s.subspec 'MPCTextField' do |ss|
  ss.source_files = 'MPTUILibrary/Classes/MPCTextField/*.{h,m}'
  end

  s.subspec 'MPCTextView' do |ss|
  ss.source_files = 'MPTUILibrary/Classes/MPCTextView/*.{h,m}'
  end

  s.subspec 'MPCView' do |ss|
  ss.source_files = 'MPTUILibrary/Classes/MPCView/*.{h,m}'
  end

  s.subspec 'MPCScrollView' do |ss|
  ss.source_files = 'MPTUILibrary/Classes/MPCScrollView/*.{h,m}'
  end

  s.resource_bundles = {
    'MPTUILibrary' => ['MPTUILibrary/Assets/*.png']
  }

  # s.public_header_files = 'Pod/Classes/**/*.h'
  s.frameworks = 'UIKit'
s.dependency 'YYWebImage', '~> 1.0.4'
s.dependency 'YYImage/WebP'
s.dependency 'YYDispatchQueuePool'
  #s.dependency 'SDWebImage'
#s.dependency 'YXWebImage'
  s.dependency 'MPTToolsLibrary'


end
